Skip to content

Fix bug #81474: Make ReflectionAttribute non-final #7545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

sasezaki
Copy link
Contributor

@sasezaki sasezaki commented Oct 2, 2021

This is trying backport of #7520 to 8.0.

@sasezaki sasezaki marked this pull request as ready for review October 2, 2021 09:05
@nikic
Copy link
Member

nikic commented Oct 2, 2021

@sgolemon @carusogabriel Thoughts on this? Context is allowing implementation of adaptor classes in BetterReflection. It seems a bit weird to make a class non-final in an 8.0.12 release, but I guess better late than never?

@@ -653,7 +653,7 @@ private function __clone(): void {}
private function __construct() {}
}

final class ReflectionAttribute
class ReflectionAttribute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any possible BCs doing this? If not, go ahead 👍

@carusogabriel carusogabriel added this to the PHP 8.0 milestone Oct 3, 2021
@nikic nikic closed this in e286313 Oct 4, 2021
@sasezaki sasezaki deleted the 81474_make_ReflectionAttribute_non_final branch October 4, 2021 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants